Skip to contentSkip to conversation

New: [NVC3] Vsync stops working after mode changes in nouveau DDX

Bug 101191 [email protected] 1 participant 7 messages May 25, 2017 – Dec 4, 2019 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=101191

Bug ID: 101191
Summary: [NVC3] Vsync stops working after mode changes in
nouveau DDX
Product: xorg
Version: 7.7 (2012.06)
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Hello,

I've encountered this weird issue where Vsync suddenly stops working after I manipulate modes on the fly in some situations.

I could reproduce it in 4 different situations, and I've attached logs respectively:

(1) Only 1 monitor connected to DVI. Any mode change (resolution or refresh rate) will trigger the issue. (term_1.txt / xorg_1.txt)
(2) 2 monitors connected (DVI+HDMI TV). Turning off the DVI monitor will immediately trigger the issue. (term_2.txt / xorg_2.txt)
(3) 2 monitors connected (DVI+HDMI TV). Mode changes in DVI monitor won't trigger the issue anymore. But after turning off the HDMI monitor, mode changes in the DVI one will start triggering the issue again. (term_3.txt / xorg_3.txt)
(4) 2 monitors connected (DVI+HDMI TV). Mode changes in HDMI monitor immediately trigger the issue. Note how Vsync is still working in the DVI one, though. (term_4.txt / xorg_4.txt)

Needless to say, this will cause issues (for example) in mpv video player, where it'll suffer tearing and complain about inconsistent timing, both in opengl and vdpau modes.

Distribution Debian Sid
Linux 4.9.25
xorg 7.7 (server 1.19.3)
xf86-video-nouveau 1.0.15
libdrm 2.4.74

This only happens with the nouveau DDX driver, as this issue doesn't occur with the modesetting one, therefore I assume it's a nouveau DDX bug (rather than mesa).

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): bug-101191-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 101191] [NVC3] Vsync stops working after mode changes in nouveau DDX

https://bugs.freedesktop.org/show_bug.cgi?id=101191

--- Comment #1 from [email protected] --- Created attachment 131513
--> https://bugs.freedesktop.org/attachment.cgi?id=131513&action=edit
dmesg

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#3 lore raw

[Bug 101191] [NVC3] Vsync stops working after mode changes in nouveau DDX

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=101191

--- Comment #2 from [email protected] --- Created attachment 131514
--> https://bugs.freedesktop.org/attachment.cgi?id=131514&action=edit
Terminal logs of 4 situations

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#4 lore raw

[Bug 101191] [NVC3] Vsync stops working after mode changes in nouveau DDX

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=101191

--- Comment #3 from [email protected] --- Created attachment 131515
--> https://bugs.freedesktop.org/attachment.cgi?id=131515&action=edit
xorg log

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#5 lore raw

[Bug 101191] [NVC3] Vsync stops working after mode changes in nouveau DDX

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=101191

Eric Engestrom <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Depends on|                            |102003

Referenced Bugs:

https://bugs.freedesktop.org/show_bug.cgi?id=102003
[Bug 102003] Mesa demos doesn't compile due to gles1

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#6 lore raw

[Bug 101191] [NVC3] Vsync stops working after mode changes in nouveau DDX

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=101191

Eric Engestrom <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Depends on|102003 |

Referenced Bugs:

https://bugs.freedesktop.org/show_bug.cgi?id=102003
[Bug 102003] Mesa demos doesn't compile due to gles1

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#7 lore raw

[Bug 101191] [NVC3] Vsync stops working after mode changes in nouveau DDX

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=101191

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #4 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance:
https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/349.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau